import {getBaseUrl,requestUtil,getUserProfile,getWxLogin} from '../utils/requestUtils';
import regeneratorRuntime, { async } from '../lib/runtime/runtime';

export const  searchDishListApi= (data) =>{
    return new Promise((resolve, reject) => {
        requestUtil({
            url: 'mp/dish/searchList',
            method: "get",
            data: { ...data }
        }).then((res) => {
            console.log(res.data)
            resolve(res)
        }).catch((err) => {
            reject(err)
        })
    });
}